package com.xm2.demo.system.shop.service;

import com.xm2.demo.model.Stores;
import com.xm2.demo.system.shop.dto.StoreInfo;
import com.xm2.demo.system.shop.dto.StoresDto;
import com.xm2.demo.system.shop.dto.StoresPage;
import com.xm2.demo.utils.Pagination;

import java.util.List;

/**
 * @Create
 * @create 2018-12-13 11:44
 * @Description：
 */
public interface ShopService {

    void addStore(StoreInfo storeInfo);

    Pagination findByPageable(Pagination pagination);

    void deleteByIds(String ids);

    void update(StoresDto storesDto);

    Pagination findByStoresPage(StoresPage storesPage);

    List<Stores> getShop(Integer id);

    void bind(Integer id, String shop);
}
